package ru.javadevelop.homefinans.svc;

import com.neurospeech.wsclient.*;
import org.w3c.dom.*;

public class HomeFinansService_SendCostsResponse extends WSObject
{
	
	private String _SendCostsResult;
	public String getSendCostsResult(){
		return _SendCostsResult;
	}
	public void setSendCostsResult(String value){
		_SendCostsResult = value;
	}
	
	public static HomeFinansService_SendCostsResponse loadFrom(Element root) throws Exception
	{
		if(WSHelper.isNull(root)){
			return null;
		}
		HomeFinansService_SendCostsResponse result = new HomeFinansService_SendCostsResponse();
		result.load(root);
		return result;
	}
	
	
	protected void load(Element root) throws Exception
	{
		this.setSendCostsResult(WSHelper.getString(root,"SendCostsResult",false));
	}
	
	
	
	public Element toXMLElement(WSHelper ws, Element root)
	{
		Element e = ws.createElement("ns6:SendCostsResponse");
		fillXML(ws,e);
		return e;
	}
	
	public void fillXML(WSHelper ws,Element e)
	{
		ws.addChild(e,"ns6:SendCostsResult",String.valueOf(_SendCostsResult),false);
	}
	
}
